package com.ts.content.vo;

import com.ts.content.entity.TopicEntity;
import com.ts.content.entity.UserEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class PostTopicVo {
    //用户信息
    private UserEntity UserInfo;

    //圈子信息
    private TopicEntity topicInfo;

    //对当前用户是否关注 (默认不关注)
    private Boolean isFollow = false;

    @ApiModelProperty(value = "ID")
    private Integer id;

    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    @ApiModelProperty(value = "话题列表")
    private List<String> discussList;

    @ApiModelProperty(value = "投票ID")
    private Integer voteId;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "帖子媒体路径")
    private List<String> media;

    @ApiModelProperty(value = "是否置顶")
    private Integer postTop;

    @ApiModelProperty(value = "帖子类型：1 图文 ，2视频 ，4投票")
    private Integer type;


    @ApiModelProperty(value = "浏览量")
    private Integer seeNum;

    @ApiModelProperty(value = "点赞数")
    private Integer thumbNum;

    @ApiModelProperty(value = "评论数")
    private Integer commentNum;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;
}
